package com.hassean.we.admin.model.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yajun
 * @since 2019-03-29
 */
@TableName("tb_terminal")
public class TbTerminal extends Model<TbTerminal> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "terminal_id", type = IdType.AUTO)
    private Long terminalId;
    @TableField("terminal_number")
    private String terminalNumber;
    @TableField("sim_info_id")
    private Long simInfoId;
    @TableField("owner_name")
    private String ownerName;
    @TableField("rescue_team_id")
    private Long rescueTeamId;
    private Integer type;
    private Integer state;
    @TableField("add_time")
    private Date addTime;
    @TableField("update_time")
    private Date updateTime;
    @TableField("number_attribution")
    private String numberAttribution;
    @TableField("Imsi_code")
    private String imsiCode;
    @TableField("Imei_code")
    private String imeiCode;
    private String temp;
    private Long status;
    private String remark;
    @TableField("advance_text")
    private String advanceText;
    @TableField("advance_date")
    private Date advanceDate;
    @TableField("del_flag")
    private String delFlag;
    @TableField("register_date")
    private String registerDate;


    public Long getTerminalId() {
        return terminalId;
    }

    public void setTerminalId(Long terminalId) {
        this.terminalId = terminalId;
    }

    public String getTerminalNumber() {
        return terminalNumber;
    }

    public void setTerminalNumber(String terminalNumber) {
        this.terminalNumber = terminalNumber;
    }

    public Long getSimInfoId() {
        return simInfoId;
    }

    public void setSimInfoId(Long simInfoId) {
        this.simInfoId = simInfoId;
    }

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    public Long getRescueTeamId() {
        return rescueTeamId;
    }

    public void setRescueTeamId(Long rescueTeamId) {
        this.rescueTeamId = rescueTeamId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getNumberAttribution() {
        return numberAttribution;
    }

    public void setNumberAttribution(String numberAttribution) {
        this.numberAttribution = numberAttribution;
    }

    public String getImsiCode() {
        return imsiCode;
    }

    public void setImsiCode(String imsiCode) {
        this.imsiCode = imsiCode;
    }

    public String getImeiCode() {
        return imeiCode;
    }

    public void setImeiCode(String imeiCode) {
        this.imeiCode = imeiCode;
    }

    public String getTemp() {
        return temp;
    }

    public void setTemp(String temp) {
        this.temp = temp;
    }

    public Long getStatus() {
        return status;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getAdvanceText() {
        return advanceText;
    }

    public void setAdvanceText(String advanceText) {
        this.advanceText = advanceText;
    }

    public Date getAdvanceDate() {
        return advanceDate;
    }

    public void setAdvanceDate(Date advanceDate) {
        this.advanceDate = advanceDate;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getRegisterDate() {
        return registerDate;
    }

    public void setRegisterDate(String registerDate) {
        this.registerDate = registerDate;
    }

    @Override
    protected Serializable pkVal() {
        return this.terminalId;
    }

    @Override
    public String toString() {
        return "TbTerminal{" +
        ", terminalId=" + terminalId +
        ", terminalNumber=" + terminalNumber +
        ", simInfoId=" + simInfoId +
        ", ownerName=" + ownerName +
        ", rescueTeamId=" + rescueTeamId +
        ", type=" + type +
        ", state=" + state +
        ", addTime=" + addTime +
        ", updateTime=" + updateTime +
        ", numberAttribution=" + numberAttribution +
        ", imsiCode=" + imsiCode +
        ", imeiCode=" + imeiCode +
        ", temp=" + temp +
        ", status=" + status +
        ", remark=" + remark +
        ", advanceText=" + advanceText +
        ", advanceDate=" + advanceDate +
        ", delFlag=" + delFlag +
        ", registerDate=" + registerDate +
        "}";
    }
}
